<!DOCTYPE html>
<html lang="zh-CN">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=0">
    <title>微金所</title>
    <link href="lib/bootstrap/css/bootstrap.css" rel="stylesheet">
    <!--[if lt IE 9]>
      <script src="lib/html5shiv/html5shiv.js"></script>
      <script src="lib/respond/respond.js"></script>
    <![endif]-->
    <link rel="stylesheet" type="text/css" href="css/index.css">
  </head>

  <body>
    <!-- 顶部通栏 -->
    <header class="wjs_header hidden-xs hidden-sm">
        <div class="container">
            <div class="row">
                <div class="col-md-2">
                   <a href="#" class="wjs_app">
                     <span class="wjs_icon wjs_icon_phone"></span>
                     <span>手机微金所</span>
                     <span class="glyphicon glyphicon-menu-down"></span>
                     <img src="images/code.jpg">
                   </a>
                </div>
                <div class="col-md-5">
                    <span class="wjs_icon wjs_icon_tel"></span>
                    <span>4006-89-4006（服务时间：9:00-21:00）</span>
                </div>
                <div class="col-md-2">
                    <a href="#">常见问题</a>
                    <a href="#" class="m_l10">财富登录</a>
                </div>
                <div class="col-md-3">
                    <!-- 引用的Boostrap样式 -->
                    <a href="#" type="button" class="btn btn-register btn-xs">免费注册</a>
                    <a href="#" type="button" class="btn btn-login btn-xs">登录</a>
                </div>
            </div>
        </div>
    </header>
    <!-- 导航栏 -->
    <!-- 固定导航栏 固定位置显示浮动，使用affix，data-spy="affix"-->
    <nav class="navbar wjs_nav" data-spy="affix" data-offset-top="41">
      <div class="container">
      <div class="navbar-header">
        <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
          <span class="sr-only">Toggle navigation</span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
          <span class="icon-bar"></span>
        </button>
        <a class="navbar-brand" href="#">
            <!-- 引入定义好的字体图标 -->
            <span class="wjs_icon wjs_icon_logo"></span>
            <span class="wjs_icon wjs_icon_word"></span>
        </a>
      </div> 

      <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
        <ul class="nav navbar-nav">
          <li class="active"><a href="#">我要投资</a></li>
          <li><a href="#">我要借贷</a></li>
          <li><a href="#">平台介绍</a></li>
          <li><a href="#">新手专区</a></li>
          <li><a href="#">最新动态</a></li>
          <li><a href="#">微平台</a></li>
        </ul>
        <ul class="nav navbar-nav navbar-right hidden-sm">
          <li><a href="#">个人中心</a></li>
        </ul>
      </div><!-- /.navbar-collapse -->
      </div><!-- /.container-fluid -->
    </nav>
    <!-- 轮播图 -->
    <div class="wjs_banner">
      <div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
        <!-- Indicators -->
        <ol class="carousel-indicators">
          <!-- 第一个渲染模板 -->
        </ol>
      
        <!-- Wrapper for slides -->
        <div class="carousel-inner" role="listbox">
          <!-- 第二个渲染模板 -->
        </div>
      
        <!-- Controls -->
        <a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
          <span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
          <span class="sr-only">Previous</span>
        </a>
        <a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
          <span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span      >
          <span class="sr-only">Next</span>
        </a>
      </div>
    </div>
    <!-- 信息 -->
    <div class="wjs_info hidden-xs">
        <div class="container">
            <div class="row">
                <div class="col-md-4 col-sm-6">
                    <a href="#" class="media">
                        <div class="media-left">
                          <span class="wjs_icon wjs_icon_E903"></span>
                        </div>
                        <div class="media-body">
                          <h4 class="media-heading">支付交易保障</h4>
                          <p>银联支付全程保证支付安全</p>
                        </div>
                    </a>
                </div>
                <div class="col-md-4 col-sm-6">
                     <a href="#" class="media">
                        <div class="media-left">
                          <span class="wjs_icon wjs_icon_E903"></span>
                        </div>
                        <div class="media-body">
                          <h4 class="media-heading">支付交易保障</h4>
                          <p>银联支付全程保证支付安全</p>
                        </div>
                    </a>
                </div>
                <div class="col-md-4 col-sm-6">
                    <a href="#" class="media">
                        <div class="media-left">
                          <span class="wjs_icon wjs_icon_E903"></span>
                        </div>
                        <div class="media-body">
                          <h4 class="media-heading">支付交易保障</h4>
                          <p>银联支付全程保证支付安全</p>
                        </div>
                    </a>
                </div>
                <div class="col-md-4 col-sm-6">
                    <a href="#" class="media">
                        <div class="media-left">
                          <span class="wjs_icon wjs_icon_E903"></span>
                        </div>
                        <div class="media-body">
                          <h4 class="media-heading">支付交易保障</h4>
                          <p>银联支付全程保证支付安全</p>
                        </div>
                    </a>
                </div>
                <div class="col-md-4 col-sm-6">
                    <a href="#" class="media">
                        <div class="media-left">
                          <span class="wjs_icon wjs_icon_E903"></span>
                        </div>
                        <div class="media-body">
                          <h4 class="media-heading">支付交易保障</h4>
                          <p>银联支付全程保证支付安全</p>
                        </div>
                    </a>
                </div>
                <div class="col-md-4 col-sm-6">
                    <a href="#" class="media">
                        <div class="media-left">
                          <span class="wjs_icon wjs_icon_E903"></span>
                        </div>
                        <div class="media-body">
                          <h4 class="media-heading">支付交易保障</h4>
                          <p>银联支付全程保证支付安全</p>
                        </div>
                    </a>
                </div>
            </div>
        </div>
    </div>
    <!-- 预约 -->
    <div class="wjs_book">
        <div class="container">
            <!-- 左浮动 -->
            <div class="pull-left">
               <span class="wjs_icon wjs_icon_E906"></span>
               <span>现在有273人在排队，累计预约成功7571次。什么是预约投标？</span>
               <a href="#" class="book_link">立即预约</a>  
            </div>
            <!-- 右浮动 -->
            <div class="pull-right hidden-xs">
                <a href="#" class="media_link">
                   <span class="wjs_icon wjs_icon_E905"></span>
                   <span>微金所企业宣传片</span>
                </a>
            </div>
            
        </div>
    </div>
    <!-- 产品 -->
    <div class="wjs_product">
    <!-- 版心 -->
      <div class="container">
       <div class="wjs_product_tabsParent">
        <ul class="nav nav-tabs" role="tablist">
          <li role="presentation" class="active"><a href="#wjs_product_tab01" aria-controls="wjs_product_tab01" role="tab" data-toggle="tab">特别推荐</a></li>
          <li role="presentation"><a href="#wjs_product_tab02" aria-controls="wjs_product_tab02" role="tab" data-toggle="tab">微投资</a></li>
          <li role="presentation"><a href="#wjs_product_tab03" aria-controls="wjs_product_tab03" role="tab" data-toggle="tab">微投资</a></li>
          <li role="presentation"><a href="#wjs_product_tab04" aria-controls="wjs_product_tab04" role="tab" data-toggle="tab">微投资</a></li>
          <li role="presentation"><a href="#wjs_product_tab05" aria-controls="wjs_product_tab05" role="tab" data-toggle="tab">微投资</a></li>
          <li role="presentation"><a href="#wjs_product_tab06" aria-controls="wjs_product_tab06" role="tab" data-toggle="tab">微投资</a></li>
          <li role="presentation"><a href="#wjs_product_tab07" aria-controls="wjs_product_tab07" role="tab" data-toggle="tab">微投资</a></li>
        </ul>
       </div>

        <!-- Tab panes -->
        <div class="tab-content">
          <div role="tabpanel" class="tab-pane active" id="wjs_product_tab01">
              <div class="col-xs-12 col-sm-6 col-lg-4">
                  <a href="#" class="product_box active">
                      <!-- 右边固定 浮动优先-->
                      <div class="box_right">
                          <!-- 百分率 -->
                          <p><b>8</b><sub>%</sub></p>
                          <p>年利率</p>
                      </div>
                      <!-- 左边自适应 -->
                      <div class="box_left">
                          <h3>新手体验标1002期</h3>
                          <div class="col-xs-6 text-left">
                              <p>起投金额(元)</p>
                              <p>0.01万</p>
                          </div>
                          <div class="col-xs-6 text-right">
                              <p>起投金额(元)</p>
                              <p>0.01万</p>
                          </div>
                          <div class="col-xs-6 text-left">
                              <p>起投金额(元)</p>
                              <p>0.01万</p>
                          </div>
                          <div class="col-xs-6 text-right">
                              <p>起投金额(元)</p>
                              <p>0.01万</p>
                          </div>
                      </div>
                      
                  </a>
              </div>
              <div class="col-xs-12 col-sm-6 col-lg-4">
                  <a href="#" class="product_box">
                       <!-- 右边固定 浮动优先-->
                      <div class="box_right">
                          <!-- 图标 -->
                          <!-- tooltip是需要js手动初始化的，当没有设置位置的时候默认显示是上面 -->
                          <div class="wjs_tip">
                              <span class="red" data-toggle="tooltip" data-placement="top" title="微金宝">宝</span>
                              <span class="green" data-toggle="tooltip" data-placement="top" title="北京市">北</span>
                          </div>
                          <!-- 利率 -->
                          <p><b>8</b><sub>%</sub></p>
                          <p>年利率</p>
                      </div>
                      <!-- 左边自适应 -->
                      <div class="box_left">
                          <h3>新手体验标1002期</h3>
                          <div class="col-xs-6 text-left">
                              <p>起投金额(元)</p>
                              <p>0.01万</p>
                          </div>
                          <div class="col-xs-6 text-right">
                              <p>起投金额(元)</p>
                              <p>0.01万</p>
                          </div>
                          <div class="col-xs-6 text-left">
                              <p>起投金额(元)</p>
                              <p>0.01万</p>
                          </div>
                          <div class="col-xs-6 text-right">
                              <p>起投金额(元)</p>
                              <!-- 进度条 -->
                              <div class="progress">
                                <div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 60%;">
                                  <span class="sr-only">60% Complete</span>
                                </div>
                              </div>
                          </div>
                      </div>
                      
                  </a>
              </div>
              <div class="col-xs-12 col-sm-6 col-lg-4">
                  <a href="#" class="product_box">
                       <!-- 右边固定 浮动优先-->
                      <div class="box_right">
                          <p><b>8</b><sub>%</sub></p>
                          <p>年利率</p>
                      </div>
                      <!-- 左边自适应 -->
                      <div class="box_left">
                          <h3>新手体验标1002期</h3>
                          <div class="col-xs-6 text-left">
                              <p>起投金额(元)</p>
                              <p>0.01万</p>
                          </div>
                          <div class="col-xs-6 text-right">
                              <p>起投金额(元)</p>
                              <p>0.01万</p>
                          </div>
                          <div class="col-xs-6 text-left">
                              <p>起投金额(元)</p>
                              <p>0.01万</p>
                          </div>
                          <div class="col-xs-6 text-right">
                              <p>起投金额(元)</p>
                              <p>0.01万</p>
                          </div>
                      </div>
                      
                  </a>
              </div>
              <div class="col-xs-12 col-sm-6 col-lg-4">
                  <a href="#" class="product_box">
                       <!-- 右边固定 浮动优先-->
                      <div class="box_right">
                          <p><b>8</b><sub>%</sub></p>
                          <p>年利率</p>
                      </div>
                      <!-- 左边自适应 -->
                      <div class="box_left">
                          <h3>新手体验标1002期</h3>
                          <div class="col-xs-6 text-left">
                              <p>起投金额(元)</p>
                              <p>0.01万</p>
                          </div>
                          <div class="col-xs-6 text-right">
                              <p>起投金额(元)</p>
                              <p>0.01万</p>
                          </div>
                          <div class="col-xs-6 text-left">
                              <p>起投金额(元)</p>
                              <p>0.01万</p>
                          </div>
                          <div class="col-xs-6 text-right">
                              <p>起投金额(元)</p>
                              <p>0.01万</p>
                          </div>
                      </div>
                      
                  </a>
              </div>
          </div>
          <div role="tabpanel" class="tab-pane" id="wjs_product_tab02">2</div>
          <div role="tabpanel" class="tab-pane" id="wjs_product_tab03">3</div>
          <div role="tabpanel" class="tab-pane" id="wjs_product_tab04">4</div>
          <div role="tabpanel" class="tab-pane" id="wjs_product_tab05">5</div>
          <div role="tabpanel" class="tab-pane" id="wjs_product_tab06">6</div>
          <div role="tabpanel" class="tab-pane" id="wjs_product_tab07">7</div>
        </div>
     </div>
    </div>
    <!-- 新闻 -->
    <div class="wjs_news">
        <div class="container">
            <div class="row">
                <div class="col-md-2 col-md-offset-2">
                    <div class="wjs_news_title">全部新闻</div>
                </div>

                <div class="col-md-1">
                   <!-- 竖线 -->
                   <div class="wjs_news_line hidden-sm hidden-xs"></div>
                   <!-- Nav tabs -->
                   <ul class="nav wjs_news_tabs" role="tablist">
                     <li role="presentation" class="active">
                        <a href="#home" aria-controls="home" role="tab" data-toggle="tab">
                          <span class="wjs_icon wjs_icon_new01"></span>
                        </a>
                     </li>
                     <li role="presentation">
                        <a href="#profile" aria-controls="profile" role="tab" data-toggle="tab">
                           <span class="wjs_icon wjs_icon_new02"></span>
                        </a>
                     </li>
                     <li role="presentation">
                        <a href="#messages" aria-controls="messages" role="tab" data-toggle="tab">
                           <span class="wjs_icon wjs_icon_new03"></span>
                        </a>
                     </li>
                     <li role="presentation">
                        <a href="#settings" aria-controls="settings" role="tab" data-toggle="tab">
                           <span class="wjs_icon wjs_icon_new04"></span>
                        </a>
                     </li>
                   </ul>
                </div>

                <div class="col-md-7">
                  <div class="tab-content">
                    <div role="tabpanel" class="tab-pane active" id="home">
                       <ul>
                           <li><span class="hidden-xs">2016-01-22</span>&nbsp;[微还款]&nbsp;一周还款公告&nbsp;2016年1月18日-1月24日</li>
                           <li><span class="hidden-xs">2016-01-22</span>&nbsp;[微还款]&nbsp;一周还款公告&nbsp;2016年1月18日-1月24日</li>
                           <li><span class="hidden-xs">2016-01-22</span>&nbsp;[微还款]&nbsp;一周还款公告&nbsp;2016年1月18日-1月24日</li>
                           <li><span class="hidden-xs">2016-01-22</span>&nbsp;[微还款]&nbsp;一周还款公告&nbsp;2016年1月18日-1月24日</li>
                           <li><span class="hidden-xs">2016-01-22</span>&nbsp;[微还款]&nbsp;一周还款公告&nbsp;2016年1月18日-1月24日</li>
                           <li><span class="hidden-xs">2016-01-22</span>&nbsp;[微还款]&nbsp;一周还款公告&nbsp;2016年1月18日-1月24日</li>
                           <li><span class="hidden-xs">2016-01-22</span>&nbsp;[微还款]&nbsp;一周还款公告&nbsp;2016年1月18日-1月24日</li>
                           <li><span class="hidden-xs">2016-01-22</span>&nbsp;[微还款]&nbsp;一周还款公告&nbsp;2016年1月18日-1月24日</li>
                       </ul>
                    </div>
                    <div role="tabpanel" class="tab-pane" id="profile">2</div>
                    <div role="tabpanel" class="tab-pane" id="messages">3</div>
                    <div role="tabpanel" class="tab-pane" id="settings">4</div>
                  </div>
                </div>
            </div>
        </div>
    </div>
    <!-- 合作伙伴 -->
    <footer class="wjs_footer">
      <div class="container">
        <h3 class="text-center">合作伙伴</h3>
        <ul>
            <li><a href="#" class="wjs_icon wjs_icon_partner01"></a></li>
            <li><a href="#" class="wjs_icon wjs_icon_partner02"></a></li>
            <li><a href="#" class="wjs_icon wjs_icon_partner03"></a></li>
            <li><a href="#" class="wjs_icon wjs_icon_partner04"></a></li>
            <li><a href="#" class="wjs_icon wjs_icon_partner05"></a></li>
            <li><a href="#" class="wjs_icon wjs_icon_partner06"></a></li>
            <li><a href="#" class="wjs_icon wjs_icon_partner07"></a></li>
            <li><a href="#" class="wjs_icon wjs_icon_partner08"></a></li>
            <li><a href="#" class="wjs_icon wjs_icon_partner09"></a></li>
        </ul>
      </div>
    </footer>

    <!-- 点盒子内容模板 -->
    <!-- 传入的model是一个数组，模板当中运行的也是js，包裹在<%%>才会被执行 -->
    <script type="text/template" id="template_point">
        <!-- item是对象，i是索引 -->
        <%_.each(model,function(item,i){%>
        <!-- <%console.log(item);%> -->
        <!-- <%console.log(item.bg);%> -->
        <!-- <%console.log(item.img);%> -->
          <li data-target="#carousel-example-generic" data-slide-to="<%=i%>" class="<%=i==0?'active':''%>"></li>
        <%});%>
    </script>
    
    <!-- 图片内容模板 -->
    <script type="text/template" id="template_item">
           <%_.each(model.list,function(item,i){%>
            <div class="item <%=i==0?'active':''%>">
               <%if(model.isMobile){%>
                  <!-- 通过动态渲染之后 hidden-sm hidden-md hidden-lg这些都没用了，我们已经通过js判断了 -->
                  <a class="img_mobble" href="#"><img src="<%=item.img%>"></a>
               <%}else{%>
                  <a class="img_box" style="background: url('<%=item.bg%>') no-repeat center" href="#"></a>
               <%}%>
            </div>
           <%});%>
    </script>

    <script src="lib/jquery/jquery.js"></script>
    <script src="lib/bootstrap/js/bootstrap.js"></script>
    <script src="lib/underscore/underscore-min.js"></script>
    <script type="text/javascript" src="js/swipe.js"></script>
    <script type="text/javascript" src="js/index.js"></script>
  </body>
</html>